package com.service.imp;

import com.mapper.JingXuanMapper_x;
import com.pojo.JingXuan_x;
import com.service.JingXuanService_x;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JingXuanServiceXImp_x implements JingXuanService_x {
    @Autowired
    private JingXuanMapper_x jingXuanMapperX;
    @Override
    public List<JingXuan_x> selectAll() {
        return jingXuanMapperX.selectAll();
    }

    @Override
    public List<JingXuan_x> select1() {
        return jingXuanMapperX.select1();
    }

    @Override
    public List<JingXuan_x> listById(Integer tId) {
        return jingXuanMapperX.listById(tId);
    }

    @Override
    public Integer add(JingXuan_x jingXuanX) {
        return jingXuanMapperX.add(jingXuanX);
    }

    @Override
    public Integer update(JingXuan_x jingXuanX) {
        return jingXuanMapperX.update(jingXuanX);
    }

    @Override
    public Integer delete(Integer id) {
        return jingXuanMapperX.delete(id);
    }

    @Override
    public List<JingXuan_x> select(Integer id, String title) {
        return jingXuanMapperX.select(id, title);
    }
}
